#!/bin/bash
case $1 in
start)
  zk start
  hadoop.sh start
  kafka.sh start
  sleep 5
  hiveservices.sh start 
  sleep 10
  echo "flink-yarn-session is startting"
   /opt/module/flink-1.13.6/bin/yarn-session.sh -d  
  flume.sh start
  #	maxwell.sh stop
  #	maxwell.sh start

  ;;

stop)
  flume.sh stop
  kafka.sh stop
  hiveservices.sh stop
  sleep 5
  hadoop.sh stop
  zk stop
  myjps
  ;;
*)
  echo "hudiSevice.sh start|stop"
  exit
  ;;
esac
